<table border="0" cellspacing="1" width="100%" height="100%">
<tr>
    <td width="100%" valign="top"><b>{$smarty.const.LA_UPLOAD_VIDEO}</b><br><br>

{if $error}
	<p><span class="red"><b>{$smarty.const.LA_WARNING}</b></span><br />{$error}</p>
{/if}

{if $upload_ok}
	<p><b>{$smarty.const.LA_VIDEO_UPLOAD_SUCCESS}</b></p>
{/if}

{if $image_upload_size && !$error}
	<p>{$image_upload_size}</p>
{/if}


{if !$error}
	<p>{$upload_status}</p>
{/if}

{if $upload_limit_max}
	<p><b>{$upload_limit_max}</b></p>
{/if}

{if $no_credits}
	<p><b>{$no_credits}</b></p>
{/if}


{if $show_form}

<form method='post' action='{$phpself}' enctype='multipart/form-data'>
<input type='hidden' name='video_ad_id' value='{$video_ad_id}'>
<input type='hidden' name='MAX_FILE_SIZE' value='10000000000'>
<br />{$smarty.const.LA_FILENAME}<br />
<input name='photo' size='50' type='file'></p>
<input type='submit' name='submit' value='{$smarty.const.LA_UPLOAD_BUTTON}'></form>

</form>

{/if}

<br />
<form method='get' action='member.php'>
<input type='submit' name='submit' value='{$smarty.const.LA_FINISH}'></p>

{foreach item=image from=$image_list}  
	
	
	<table border="0" width="300" cellspacing="0" cellpadding="1" bgcolor="#A9B8D1"><tr><td bgcolor="#A9B8D1">
	<table border="0" width="100%" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0"><tr><td width="100%">
	<table border="0" width="100%" cellspacing="0" cellpadding="5"><tr><td align="left">
	<center><b>{$image.name}</b></center><br />	
	<a href="{$url}/images/videos/{$image.name}" target="_blank"><img border='0' src='{$url}/layout_images/movie.gif'><img border="0"" src="{$url}/layout_images/zoom.gif" width="19" height="24" alt='' /></a>
	</td></tr></table>
	<table border="0" width="100%" bgcolor="#A9B8D1" cellspacing="0" cellpadding="4">
	<tr><td width="100%" align="center"><a href='{$phpself}?video_ad_id={$video_ad_id}&del_id={$image.id}'><img src="{$url}/layout_images/pointer.gif" border="0" alt="" />{$smarty.const.LA_DEL_VID1}</a>
	</td></tr></table>
	</td></tr></table>
	</td></tr></table>
	<br>
{/foreach}


</td></tr></table>